package com.ljf.daily.makemoneydetail.enums;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ljf.common.enums.BasicEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 赚钱明细记录对象  daily_dat_make_money_detail  类型  type  枚举
 *
 * @author LJF
 * @since 2024-04-30
 */
@Getter
@AllArgsConstructor
public enum DailyDatMakeMoneyDetailTypeEnum implements BasicEnum {

    ADD(1, "新增"),
    ADJUST(2, "调整"),
    IMPORT(3, "导入"),
    TRANSFER_ACCOUNTS(4, "转账"),
    AUTO_RECORD(5, "自动记录"),
    COST(6, "费用");

    @JsonProperty("code")
    @ApiModelProperty(value = "编码")
    private final Integer code;

    @JsonProperty("name")
    @ApiModelProperty(value = "描述")
    private final String name;

}
